package com.pgeg.registry;

import com.pgeg.listener.FoodListener;
import com.pgeg.listener.ItemListener;
import com.pgeg.listener.ToolListener;
import com.pgeg.listener.WeaponsListener;
import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Identifier;

import static com.pgeg.util.Reference.MODID;

public class ItemGroupRegistry {

    public static final ItemGroup COMMON_GROUP = FabricItemGroupBuilder.build(
            new Identifier(MODID, "common"),
            () -> new ItemStack(ItemListener.MANA_CRYSTAL_DUST));

    public static final ItemGroup FOOD_GROUP = FabricItemGroupBuilder.build(
            new Identifier(MODID, "food"),
            () -> new ItemStack(FoodListener.BURRITO_BEEF));

    public static final ItemGroup TOOL_GROUP = FabricItemGroupBuilder.build(
            new Identifier(MODID, "tool"),
            () -> new ItemStack(ToolListener.BRIMSTONE_AXE));

    public static final ItemGroup COMBAT_GROUP = FabricItemGroupBuilder.build(
            new Identifier(MODID, "combat"),
            () -> new ItemStack(WeaponsListener.KATANA_IRON));
}
